<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8" />
    <title>Login</title>
    <%@ include file="../include/head.jsp" %>
</head>

<body>
<fmt:setBundle basename="com.city.project.message.login"/>

<div class="container tm-mt-big tm-mb-big">
    <div class="row">
        <div class="col-12 mx-auto tm-login-col">
            <div class="tm-bg-primary-dark tm-block tm-block-h-auto">
                <div class="row">
                    <div class="col-12 text-center">
                        <h2 class="tm-block-title mb-4"><fmt:message key="login.header"/></h2>
                    </div>
                </div>
                <div class="row mt-2">
                    <div class="col-12">
                        <form action="login.do" method="post" class="tm-login-form">
                            <div class="form-group">
                                <label for="username"><fmt:message key="login.userid"  /></label>
                                <input
                                        name="username"
                                        type="text"
                                        class="form-control validate"
                                        id="username"
                                        value=""
                                        required
                                />
                            </div>
                            <div class="form-group mt-3">
                                <label for="password"><fmt:message key="login.password"  /></label>
                                <input
                                        name="password"
                                        type="password"
                                        class="form-control validate"
                                        id="password"
                                        value=""
                                        required
                                />
                            </div>
                            <div class="form-group mt-4">
                                <button
                                        type="submit"
                                        class="btn btn-primary btn-block text-uppercase"
                                >
                                    <fmt:message key="login.but"/>
                                </button>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<%@ include file="../include/footer.jsp" %>
</body>
</html>
